package cn.stylefeng.guns.dao.entity;

import cn.stylefeng.roses.kernel.rule.annotation.ChineseDescription;
import com.baomidou.mybatisplus.annotation.*;

import java.time.LocalDateTime;
import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 审批日志
 * </p>
 *
 * @author quspacedraon
 * @since 2024-02-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("audit_log")
@ApiModel(value = "AuditLog对象", description = "审批日志")
public class AuditLog extends BusinessBaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "审批日志id")
    @TableId(value = "audit_log_id", type = IdType.ASSIGN_ID)
    private String auditLogId;
    private String auditName;
    @ApiModelProperty(value = "发票图片地址")
    private String invoicePic;
    @ApiModelProperty(value = "节点1审批时间")
    private Long node1ApproverTime;
    @ApiModelProperty(value = "节点1审批时间")
    private Long node2ApproverTime;
    @ApiModelProperty(value = "节点1审批时间")
    private Long node3ApproverTime;
    @ApiModelProperty(value = "节点1审批时间")
    private Long node4ApproverTime;
    @ApiModelProperty(value = "节点1审批时间")
    private Long node5ApproverTime;


    @ApiModelProperty(value = "节点1审批人")
    private Long node1Approver;

    @ApiModelProperty(value = "审批人图片")
    private String node1ApproverPic;

    @ApiModelProperty(value = "节点1备注")
    private String node1Memo;

    @ApiModelProperty(value = "节点状态 0待审批 -1 拒绝 1 同意")
    private Integer node1Status;

    @ApiModelProperty(value = "节点1审批人")
    private Long node2Approver;

    @ApiModelProperty(value = "审批人图片")
    private String node2ApproverPic;

    @ApiModelProperty(value = "节点1备注")
    private String node2Memo;

    @ApiModelProperty(value = "节点状态 0待审批 -1 拒绝 1 同意")
    private Integer node2Status;

    @ApiModelProperty(value = "节点1审批人")
    private Long node3Approver;

    @ApiModelProperty(value = "审批人图片")
    private String node3ApproverPic;

    @ApiModelProperty(value = "节点1备注")
    private String node3Memo;

    @ApiModelProperty(value = "节点状态 0待审批 -1 拒绝 1 同意")
    private Integer node3Status;

    @ApiModelProperty(value = "节点1审批人")
    private Long node4Approver;

    @ApiModelProperty(value = "审批人图片")
    private String node4ApproverPic;

    @ApiModelProperty(value = "节点1备注")
    private String node4Memo;

    @ApiModelProperty(value = "节点状态 0待审批 -1 拒绝 1 同意")
    private Integer node4Status;

    @ApiModelProperty(value = "节点1审批人")
    private Long node5Approver;

    @ApiModelProperty(value = "审批人图片")
    private String node5ApproverPic;

    @ApiModelProperty(value = "节点1备注")
    private String node5Memo;

    @ApiModelProperty(value = "节点状态 0待审批 -1 拒绝 1 同意")
    private Integer node5Status;

    @ApiModelProperty(value = "整体状态 0 审批中-1拒绝 1同意")
    private Integer status;
    @ApiModelProperty(value = "当前节点")
    private Integer currentNode;

    private String auditInfo;

    @ApiModelProperty(value = "删除标记：Y-已删除，N-未删除")
    @TableField(value = "del_flag", fill = FieldFill.INSERT)
    @ChineseDescription("删除标记（Y-已删除，N-未删除）")
    @TableLogic(value = "N", delval = "Y")
    private String delFlag;


}
